.el-button {
  &.is-link {
    &:focus {
      color: var(--el-button-text-color);
    }

    &:hover {
      color: var(--el-button-hover-link-text-color);
    }
  }

  &.el-button--primary.is-plain {
    --el-button-bg-color: #ffffff !important;
    &.refresh-btn {
      --el-button-bg-color: #f2f5ff !important;
    }
    &:focus {
      color: var(--el-button-text-color);
      border-color: var(--el-button-border-color);
      background-color: var(--el-button-bg-color);
    }
    &:hover {
      color: var(--el-button-hover-text-color);
      border-color: var(--el-button-hover-border-color);
      background-color: var(--el-button-hover-bg-color);
    }

    &.is-disabled {
      background-color: #fff;
      &:hover {
        color: var(--el-color-primary-light-5);
        background-color: #fff;
        border-color: var(--el-color-primary-light-8);
      }
    }
  }
}

.refresh-button {
  padding: 0 8px !important;
}

/**修复messageBox btn 问题 */
.el-button.el-button--primary {
  &:focus-visible {
    outline: none;
    outline-offset: 0;
  }
  &:focus {
    border-color: var(--el-button-border-color);
    background-color: var(--el-button-bg-color);
  }
  &:hover {
    border-color: var(--el-button-hover-border-color);
    background-color: var(--el-button-hover-bg-color);
  }
}

.send-btn {
  color: #164cff !important;
  border-color: #164cff !important;
  &.is-disabled {
    color: #c5cbd8 !important;
    background-color: #edeef0 !important;
    border: none;
  }
}
